<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      .content {
        width: 1211px;
        margin: 0 auto;
        height: 1000px;
        /* background-color: red; */
      }
      .wrapper {
        margin-right: -10px;
      }
      .item {
        float: left;
        width: 234px;
        margin-bottom: 10px;
        margin-right: 10px;
      }
      .item.left {
        height: 614px;
      }
      .item.right {
        height: 302px;
      }
      .items {
        background-color: #fff;
        display: block;
        width: 234px;
        height: 302px;
        text-align: center;
        box-sizing: border-box;
      }
      .items:hover {
        box-shadow: 0px 2px 20px 5px rgba(0, 0, 0, 0.1);
      }
      .items img {
        width: 160px;
        height: 160px;
      }
      .items .title {
        margin-top: 14px;
        color: #333;
      }
      .items .desc {
        color: #333;
        margin-top: 8px;
        /* 单行文本显示为省略号 */
        /* 不换行 */
        white-space: nowrap;
        /* 溢出的隐藏掉 */
        overflow: hidden;
        /* 文字溢出如何处理 */
        text-overflow: ellipsis;
      }
      .items .price {
        margin-top: 14px;
        font-size: 14px;
      }
      .items .new-price {
        color: orange;
      }
      .items .old-price {
        color: gray;
        text-decoration: line-through;
      }
    </style>
  </head>
  <body>
    <div class="content">
      <div class="wrapper">
        <div class="item left"></div>
        <div class="item right">
          <a href="https://www.mi.com" class="items">
            <img
              src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/7d4b9d5790e07d2fe68864f76095ec56.jpg?thumb=1&w=100&h=100&f=webp&q=90"
              alt=""
            />
            <h3 class="title">小米平板5</h3>
            <p class="desc">
              全新的英特尔处理器，cnc一体精雕工艺，2.5k
              120hz高清屏，可选mx550独立显卡
            </p>
            <div class="price">
              <span class="new-price">2399元起</span>
              <span class="old-price">2499元</span>
            </div>
          </a>
        </div>
        <div class="item right">
          <a href="https://www.mi.com" class="items">
            <img
              src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/7d4b9d5790e07d2fe68864f76095ec56.jpg?thumb=1&w=100&h=100&f=webp&q=90"
              alt=""
            />
            <h3 class="title">小米平板5</h3>
            <p class="desc">
              全新的英特尔处理器，cnc一体精雕工艺，2.5k
              120hz高清屏，可选mx550独立显卡
            </p>
            <div class="price">
              <span class="new-price">2399元起</span>
              <span class="old-price">2499元</span>
            </div>
          </a>
        </div>
        <div class="item right">
          <a href="https://www.mi.com" class="items">
            <img
              src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/7d4b9d5790e07d2fe68864f76095ec56.jpg?thumb=1&w=100&h=100&f=webp&q=90"
              alt=""
            />
            <h3 class="title">小米平板5</h3>
            <p class="desc">
              全新的英特尔处理器，cnc一体精雕工艺，2.5k
              120hz高清屏，可选mx550独立显卡
            </p>
            <div class="price">
              <span class="new-price">2399元起</span>
              <span class="old-price">2499元</span>
            </div>
          </a>
        </div>
        <div class="item right">
          <a href="https://www.mi.com" class="items">
            <img
              src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/7d4b9d5790e07d2fe68864f76095ec56.jpg?thumb=1&w=100&h=100&f=webp&q=90"
              alt=""
            />
            <h3 class="title">小米平板5</h3>
            <p class="desc">
              全新的英特尔处理器，cnc一体精雕工艺，2.5k
              120hz高清屏，可选mx550独立显卡
            </p>
            <div class="price">
              <span class="new-price">2399元起</span>
              <span class="old-price">2499元</span>
            </div>
          </a>
        </div>
        <div class="item right">
          <a href="https://www.mi.com" class="items">
            <img
              src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/7d4b9d5790e07d2fe68864f76095ec56.jpg?thumb=1&w=100&h=100&f=webp&q=90"
              alt=""
            />
            <h3 class="title">小米平板5</h3>
            <p class="desc">
              全新的英特尔处理器，cnc一体精雕工艺，2.5k
              120hz高清屏，可选mx550独立显卡
            </p>
            <div class="price">
              <span class="new-price">2399元起</span>
              <span class="old-price">2499元</span>
            </div>
          </a>
        </div>
        <div class="item right">
          <a href="https://www.mi.com" class="items">
            <img
              src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/7d4b9d5790e07d2fe68864f76095ec56.jpg?thumb=1&w=100&h=100&f=webp&q=90"
              alt=""
            />
            <h3 class="title">小米平板5</h3>
            <p class="desc">
              全新的英特尔处理器，cnc一体精雕工艺，2.5k
              120hz高清屏，可选mx550独立显卡
            </p>
            <div class="price">
              <span class="new-price">2399元起</span>
              <span class="old-price">2499元</span>
            </div>
          </a>
        </div>
        <div class="item right">
          <a href="https://www.mi.com" class="items">
            <img
              src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/7d4b9d5790e07d2fe68864f76095ec56.jpg?thumb=1&w=100&h=100&f=webp&q=90"
              alt=""
            />
            <h3 class="title">小米平板5</h3>
            <p class="desc">
              全新的英特尔处理器，cnc一体精雕工艺，2.5k
              120hz高清屏，可选mx550独立显卡
            </p>
            <div class="price">
              <span class="new-price">2399元起</span>
              <span class="old-price">2499元</span>
            </div>
          </a>
        </div>
        <div class="item right">
          <a href="https://www.mi.com" class="items">
            <img
              src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/7d4b9d5790e07d2fe68864f76095ec56.jpg?thumb=1&w=100&h=100&f=webp&q=90"
              alt=""
            />
            <h3 class="title">小米平板5</h3>
            <p class="desc">
              全新的英特尔处理器，cnc一体精雕工艺，2.5k
              120hz高清屏，可选mx550独立显卡
            </p>
            <div class="price">
              <span class="new-price">2399元起</span>
              <span class="old-price">2499元</span>
            </div>
          </a>
        </div>
      </div>
    </div>
  </body>
</html>
